package com.micromsg.basic.sys.dao;

import com.micromsg.basic.sys.model.User;
import com.micromsg.common.core.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 用户表Mapper
 *
 * @author yangyang
 * @date 2024/04/06
 **/
public interface UserMapper extends Mapper<User> {

    List<User> getAllFriend(@Param("userId") String userId);

    /**
     * 批量新增用户表
     *
     * @param list
     * @return
     */
    Integer batchInsertUser(List<User> list);
}
